package com.sofwin.service;

import com.sofwin.pojo.SysMenu;

import java.util.List;

/**
 * @packageName: com.sofwin.service
 * @author: andyliu
 * @date: 2022/8/11 11:30
 * @email 115176513@qq.com
 * @description: TODO
 */

public interface MenuService {

    boolean saveMenu(SysMenu menu);

    boolean removeById(Integer id);

    boolean removeByIds(Integer[] ids);

    SysMenu queryById(Integer id);

    List<SysMenu> queryMenus(SysMenu menu);

    List<SysMenu> queryMenusByRoleId(Integer roleId);
}
